package com.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.crm.entity.CrmActivity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author junxian,dou
 * @since 2024-11-25
 */
public interface CrmActivityMapper extends BaseMapper<CrmActivity> {

    IPage<CrmActivity> pageList(@Param("page") Page<CrmActivity> page, @Param("name") String name, @Param("owner") String owner, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("clueId") String clueId);

    List<CrmActivity> list(List<String> ids);

}
